
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ page import="xujiwen.transport.bean.User" %>
<%@ page import="xujiwen.transport.Mgr.UserMgr" %>


<%
String state = "您还没有登录";
User user = (User)session.getAttribute("user");
if(user != null)
{
	if(user.getUclass()==1)
	state = "操作员：" + user.getName();
	else if(user.getUclass()==3)
		state = "管理员：" + user.getName();
}	
%>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>高速公路电子收费管理系统</title>
<link href="Images/css1/top_css.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#03A8F6">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="194" height="60" align="center" background="Images/top_logo.jpg"></td>
    <td align="center" style="background:url(Images/top_bg.jpg) no-repeat"><table cellspacing="0" cellpadding="0" border="0" width="100%" height="33">
      <tbody>
        <tr>
          <td width="30" align="left"><img onClick="switchBar(this)" height="15" alt="关闭左边管理菜单" src="Images/on-of.gif" width="15" border="0" /></td>
          <td width="320" align="left"><a class="top_link" 
            href="right.html" 
            target="main"><%=state %></a></td>
          <td width="80" align="right" nowrap="nowrap" class="topbar">首页：</td>
          <td class="topbar"><a href="right.html" 
            target="main"><img title="返回首页" height="23" 
            src="Images/home.gif" width="33" 
        border="0" /></a>&nbsp;</td>
        </tr>
      </tbody>
    </table>
    <table height="26" border="0" align="left" cellpadding="0" cellspacing="0" class="subbg" NAME=t1>
      <tbody>
        <tr align="middle">
          <td width="71" height="26" align="center" valign="middle" background="Images/top_tt_bg.gif"><a href="login.html" target="main" class="STYLE2">登录系统</a></td>
          <td align="center" class="topbar"><span class="STYLE2"> </span></td>
          <td width="71" align="center" valign="middle" background="Images/top_tt_bg.gif"><a href="operate/carMgr.jsp?searchStr=" target="main" class="STYLE2">车辆管理</a></td>
          <td align="center" class="topbar"><span class="STYLE2"> </span></td>
          <td width="71" align="center" valign="middle" background="Images/top_tt_bg.gif" ><a href="operate/ownerMgr.jsp?searchStr=" target="main">司机管理</a></td>
          <td align="center" class="topbar"><span class="STYLE2"> </span></td>
          <td width="71" align="center" valign="middle" background="Images/top_tt_bg.gif" ><a  href="admin/chargeSTDMgr.jsp" target="main" class="STYLE3">收费标准</a></td>
          <td align="center" class="topbar"><span class="STYLE2"> </span></td>
          <td width="71" align="center" valign="middle" background="Images/top_tt_bg.gif" ><a  href="passwordModif.jsp"  target="main" class="STYLE2">修改密码</a></td>
          <td align="center" class="topbar"><span class="STYLE2"> </span></td>
          <td width="71" align="center" valign="middle" background="Images/top_tt_bg.gif"><a  href="operate/entryRecord.jsp?searchStr="  target="main" class="STYLE2">进站记录</a></td>
          <td align="center" class="topbar"><span class="STYLE2"> </span></td>
          <td width="71" align="center" valign="middle" background="Images/top_tt_bg.gif"><a href="operate/passRecord.jsp?searchStr="   target="main" class="STYLE2">出站记录</a></td>
          <td align="center" class="topbar"><span class="STYLE2"> </span></td>
          <td width="71" align="center" valign="middle" background="Images/top_tt_bg.gif"><a  href="LoginOut.jsp" target="_top" class="STYLE2">退出登录</a></td>
        </tr>
      </tbody>
    </table></td>
  </tr>
  <tr height="6">
    <td bgcolor="#1F3A65" background="Images/top_bg.jpg"></td>
  </tr>
</table>
<script language="javascript">
<!--
var displayBar=true;
function switchBar(obj){
	if (displayBar)
	{
		parent.frame.cols="0,*";
		displayBar=false;
		obj.title="打开左边管理菜单";
	}
	else{
		parent.frame.cols="195,*";
		displayBar=true;
		obj.title="关闭左边管理菜单";
	}
}
//-->
</script></body>
</html>
